package com.tsxy.mall.service.impl;

import com.tsxy.mall.entity.Recovery;
import com.tsxy.mall.mapper.RecoveryMapper;
import com.tsxy.mall.service.RecoveryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RecoveryServiceImpl implements RecoveryService {
    @Autowired
    private RecoveryMapper recoveryMapper;

    @Override
    public Integer add(Recovery recovery) {
        return recoveryMapper.add(recovery);
    }

    @Override
    public List getList(Recovery recovery) {
        return recoveryMapper.getList(recovery);
    }
}
